<%
//下载APP
layout("/inc/layout.html",{
title:'公司基本信息 - 工商变更 - 智慧洛龙',
keywords:'公司基本信息,工商变更,智慧洛龙',
description:'公司基本信息,工商变更,智慧洛龙',
style:'index.css'
}){
%>
<section class="container mt15">
    <div class="panel panel-info">
        <div class="panel-heading text-center center-block">
            <div class="btn-group">
                <% layout("/inc/title.html"){} %>
            </div>
        </div>
        <div class="panel-body">
            <div class="alert alert-danger" style="margin-bottom: 0">
                <span class="text text-danger" id="messageCode">请从下表中选择已核准的企业，或直接点击“新增变更”进行操作。</span>
            </div>
            <div class="table-responsive">
                <table id="companyChangedataList"></table>
            </div>
        </div>


        <div class="panel-footer">
            <div class="col-sm-offset-3 clearfix">
                <div class="mt5 mb5 block col-sm-3">
                    <a href="/user/index" class="btn btn-warning btn-lg btn-outline btn-block">返回列表</a>
                </div>
                <div class="mt5 mb5 block col-sm-3">
                    <a href="/companyChange/base" class="btn btn-warning btn-lg btn-outline btn-block">新增变更</a>
                </div>
            </div>
        </div>


    </div>
</section>
<% } %>
<script>
    require(['modules/company_change'], function (change) {
        change.index();
    });

    /**
     * 列表按钮参数
     */
    /**
     * 列表按钮参数
     */




    function operateFormatter(value, row, index) {
        return "<div class=\"btn-group\">" +
            "<a href=\"/companyChange/base/"+row.id+"\" class=\"change btn btn-default btn-xs\"><i class=\"iconfont icon-bianji\"></i>&nbsp;变更&nbsp;</a>" +
//            "<a href=\"/companyRecord/base/"+row.id+"\" class=\"record btn btn-default btn-xs\"><i class=\"iconfont icon-backward\"></i>&nbsp;备案&nbsp;</a>" +
            "</div>"
    }

</script>
</body>
</html>